all: report.pdf a run


a: a.cpp
	g++ a.cpp -o a


report.pdf: report.tex
	xelatex report.tex

run: a
	./a > output.txt

clean:
	rm -f a output.txt *.aux *.log *.pdf

.PHONY: all clean
